// pages/demo2/demo2.js
Page({

  /**
   * 页面的初始数据
   */
  data: {
    num:2,
    list:[
      {
          "businessId": 0,
          "dateAdd": "2022-05-05 11:26:09",
          "id": 222083,
          "linkType": 0,
          "linkUrl": "https://gitee.com/joeshu/v-shop",
          "paixu": 0,
          "picUrl": "https://dcdn.it120.cc/2022/05/05/ac956ae3-151f-418e-b0e9-fadd76a9ea6d.jpeg",
          "remark": "跳转gitee v-shop",
          "shopId": 0,
          "status": 0,
          "statusStr": "显示",
          "title": "首页Banner4",
          "type": "indexBanner",
          "userId": 1605
      },
      {
          "businessId": 0,
          "dateAdd": "2022-02-02 16:04:11",
          "dateUpdate": "2022-02-02 16:19:17",
          "id": 204167,
          "linkType": 0,
          "linkUrl": "https://github.com/JoeshuTT/v-shop",
          "paixu": 0,
          "picUrl": "https://dcdn.it120.cc/2022/02/02/d0442c95-cd44-435a-888d-2539c5399334.png",
          "remark": "跳转github v-shop",
          "shopId": 0,
          "status": 0,
          "statusStr": "显示",
          "title": "首页banner3",
          "type": "indexBanner",
          "userId": 1605
      },
      {
          "businessId": 0,
          "dateAdd": "2017-12-04 10:35:09",
          "dateUpdate": "2022-02-02 16:19:07",
          "id": 2772,
          "linkType": 0,
          "linkUrl": "",
          "paixu": 2,
          "picUrl": "https://cdn.it120.cc/apifactory/2019/06/18/4c458676-85bb-4271-91a6-79ed9fc47545.jpg",
          "remark": "",
          "shopId": 0,
          "status": 0,
          "statusStr": "显示",
          "title": "首页banner2",
          "type": "indexBanner",
          "userId": 1605
      },
      {
          "businessId": 0,
          "dateAdd": "2017-12-04 10:34:35",
          "dateUpdate": "2022-02-02 16:19:13",
          "id": 2771,
          "linkType": 0,
          "linkUrl": "",
          "paixu": 2,
          "picUrl": "https://cdn.it120.cc/apifactory/2019/06/18/06b337d7-92a1-498b-8142-5c5951e8fb97.jpg",
          "remark": "",
          "shopId": 0,
          "status": 0,
          "statusStr": "显示",
          "title": "首页banner1",
          "type": "indexBanner",
          "userId": 1605
      }
  ]
  },
fn(e){
  this.setData({
    num:e.detail.value
  })
},
  /**
   * 生命周期函数--监听页面加载
   */
  onLoad(options) {

  },

  /**
   * 生命周期函数--监听页面初次渲染完成
   */
  onReady() {

  },

  /**
   * 生命周期函数--监听页面显示
   */
  onShow() {

  },

  /**
   * 生命周期函数--监听页面隐藏
   */
  onHide() {

  },

  /**
   * 生命周期函数--监听页面卸载
   */
  onUnload() {

  },

  /**
   * 页面相关事件处理函数--监听用户下拉动作
   */
  onPullDownRefresh() {

  },

  /**
   * 页面上拉触底事件的处理函数
   */
  onReachBottom() {

  },

  /**
   * 用户点击右上角分享
   */
  onShareAppMessage() {

  }
})